Remove gtk_native_dialog_run()
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 30 Apr 2020 12:56:41 +0000 (13:56 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 May 2020 12:15:19 +0000 (13:15 +0100)
commit5d272a12cb05cd813f791d28f5c8a563b93d50e2
tree2d2f52cb713f3934fb57df49e5e5e2c4c329fa74
parent3212b07cf15927a5c03c6e26923eacdebdb48d53
Remove gtk_native_dialog_run()

Nested main loops are bad, as they introduce layers of complexity caused
by the potential re-entrancy in the case of multiple event sources, like
IPC, threads, etc. Additionally, the programming model they provide—stop
the world while spinning a new loop—does not conform to the event-driven
model employed by GTK.
docs/reference/gtk/gtk4-sections.txt
gtk/gtknativedialog.c
gtk/gtknativedialog.h